package com.fqgj.sentry.biz.store.es.data;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Rule {

    private String category;
    private String name;
    private Short type;
    private String value;
    private Short priority;

    @JsonProperty("is_single_hit")
    private Boolean singleHit;

    public Boolean getSingleHit() {
        return singleHit;
    }

    public Rule setSingleHit(Boolean singleHit) {
        this.singleHit = singleHit;
        return this;
    }

    public String getCategory() {
        return category;
    }

    public Rule setCategory(String category) {
        this.category = category;
        return this;
    }

    public String getName() {
        return name;
    }

    public Rule setName(String name) {
        this.name = name;
        return this;
    }

    public Short getType() {
        return type;
    }

    public Rule setType(Short type) {
        this.type = type;
        return this;
    }

    public String getValue() {
        return value;
    }

    public Rule setValue(String value) {
        this.value = value;
        return this;
    }

    public Short getPriority() {
        return priority;
    }

    public Rule setPriority(Short priority) {
        this.priority = priority;
        return this;
    }
}
